package com.dxy.df.modules.bean.vo;


import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;




/**
 * 文章表
 * @author biz@dxy.cn
 * @date 2019-10-25 16:23:46
 */
@Setter
@Getter
@ApiModel
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class DfArticleVo implements Serializable   {
	private static final long serialVersionUID = 1L;

	private Integer id;
    @ApiModelProperty(value = "标题")
	private String title;
    @ApiModelProperty(value = "摘要")
	private String summary;
    @ApiModelProperty(value = "文章详情")
	private String content;
    @ApiModelProperty(value = "作者")
	private String author;
    @ApiModelProperty(value = "分类")
	private Integer category;
    @ApiModelProperty(value = "置顶: 0是 1否")
	private Integer high;
    @ApiModelProperty(value = "封面")
	private String cover;
	@ApiModelProperty(value = "浏览量")
	private Integer count;

	@ApiModelProperty(value = "评论数")
	private Integer commentCount;
	@ApiModelProperty(value = "点赞数")
	private Integer likeCount;

	@ApiModelProperty(value = "导读")
	private String takeAway;

	@ApiModelProperty(value = "创建时间")
	private Date createTime = new Date();

	@ApiModelProperty(value = "创建人")
	private String createBy ;

	@ApiModelProperty(value = "修改时间")
	private Date updateTime = new Date();

	@ApiModelProperty(value = "修改人")
	private String updateBy;

	private double hot;

	private String articleType;

}
